
function linkSubmit(form,actionName,paraName,paraValue){
		var el=document.createElement("input");
		el.setAttribute("type","hidden");
		el.setAttribute("name",paraName);
		el.setAttribute("value",paraValue);		
		form.appendChild(el);		
		actionSubmit(form,actionName);
}
function actionSubmit(form,actionName){	
		if(form.events.submit()){			
			var actionInput=document.createElement("input");
			actionInput.setAttribute("type","hidden");
			actionInput.setAttribute("name","action_"+actionName);
			form.appendChild(actionInput);
			form.submit();			
		}			
}
function popwin(windowName,url,width,height){
    features="resizable,scrollbars,width="+width+",height="+height;
    win = window.open(url,windowName,features,false);
    win.focus();
    return false;
}   

